<?php
/**
 * es代理文件
 */
header("content-type:text/plain;charset=utf8");
require './include/config.php';
require './include/CurlMulti.php';
// 存储数据

$index = 'baidu_xiaoqu2';
$type = 'xiaoqu';
$es_bulk = $conf['es']['hosts'].'/_bulk';
$es_url = $conf['es']['hosts'].'/'.$index.'/'.$type.'/_search';

$res = fly_curl($conf['es']['hosts'] .'/'. $_SERVER["QUERY_STRING"], urldecode(file_get_contents("php://input")));

echo json_encode(array('status'=>'null'));